<!DOCTYPE html>
<html>
  <head>
    <style>
      form:invalid { display: none; }
    </style>
  </head>
  <body>
    <form>
      <input required readonly>
    </form>
  </body>
</html>
